package indi.cyh.fastservice.config;

import indi.cyh.fastservice.base.entity.http.RestService;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * rest服务配置中心
 *
 * @ClassName RestServiceConfig
 * @Description TODO
 * @Author cyh
 * @Date 2021/2/26 0026 10:34
 */
@Component
@Data
@ConfigurationProperties(prefix = "rest-service")
public class RestServiceConfig {
    /**
     * 是否调用调试地址
     */
    private boolean isDebugger;

    /**
     * 服务信息列表
     */
    private List<RestService> restServiceList;



}
